package cn.tedu.boot091.mapper;

import cn.tedu.boot091.entity.Emp;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmpMapper {

    int insertAEmp(Emp emp);

    List<Emp> selectAll();

    Emp selectById(int id);

    int deleteById(int id);

    int deleteEmps(Integer[] emps);

    int dynamicUpdate(Emp emp);

    int countEmp();
}
